Skip to content

Conversation

@nolannbiron
Copy link
Member

No description provided.

@linear
Copy link

linear bot commented Dec 20, 2025

@changeset-bot
Copy link

changeset-bot bot commented Dec 20, 2025

⚠️ No Changeset found

Latest commit: 5ab2718

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@argos-ci
Copy link

argos-ci bot commented Dec 20, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 28 changed Jan 12, 2026, 1:49 PM
v2-cloudflare (Inspect) 👍 Changes approved 21 changed Jan 12, 2026, 1:53 PM
v2-vercel (Inspect) 👍 Changes approved 28 changed Jan 12, 2026, 1:53 PM

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes the @tailwindcss/typography dependency and replaces it with a custom CSS-only typography implementation. It also optimizes OpenAPI styles by lazy loading them through CSS imports rather than multiple component-level imports.

Changes:

  • Removed @tailwindcss/typography package dependency and replaced with custom prose.css implementation
  • Migrated OpenAPI component styles from individual imports to centralized CSS import
  • Updated Tailwind class syntax from prose-*:modifier to [&_*]:modifier pattern for consistency with Tailwind v4

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
packages/gitbook/tailwind.config.ts Removed typography plugin import and registration
packages/gitbook/src/components/RootLayout/prose.css Added custom CSS-only typography implementation with @Utility directives
packages/gitbook/src/components/RootLayout/globals.css Added import for the new prose.css file
packages/gitbook/src/components/DocumentView/OpenAPI/style.css Updated class syntax to use arbitrary selectors and imported scalar.css
packages/gitbook/src/components/DocumentView/OpenAPI/context.tsx Removed scalar.css import (moved to style.css)
packages/gitbook/src/components/DocumentView/OpenAPI/OpenAPIWebhook.tsx Removed duplicate style imports and reorganized imports
packages/gitbook/src/components/DocumentView/OpenAPI/OpenAPISchemas.tsx Removed duplicate style imports and reorganized imports
packages/gitbook/src/components/DocumentView/OpenAPI/OpenAPIOperation.tsx Removed duplicate style imports and reorganized imports
packages/gitbook/package.json Removed @tailwindcss/typography dependency
bun.lock Updated lock file to reflect removed dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nolannbiron nolannbiron merged commit 6b1fd43 into main Jan 12, 2026
16 checks passed
@nolannbiron nolannbiron deleted the nolann/rnd-9035-fix-rendering-lag-on-safari branch January 12, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants